<div class="dialog" *ngIf="dialogState" [@scaleInOut]="'in'">
    <div class="dialog-wraper">
        <div>test</div>
        <span class="dialog-close" (click)="closeDialog()">
            <i class="fa fa-power-off" aria-hidden="true"></i>
        </span>
    </div>
</div>